<?php

use Illuminate\Database\Seeder;

class AdminOperateModule2 extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \Illuminate\Support\Facades\DB::table('admin_operate_module')->insert([
            [
                'id' => 68,
                'name' => '新增设备',
                'model' => 'admin_dev',
                'method' => '',
                'pid' => 2,
                'type' => 1,
                'status' => 1,
            ],
            [
                'id' => 69,
                'name' => '编辑设备',
                'model' => 'admin_dev',
                'method' => '',
                'pid' => 2,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 6,
                'name' => '财务管理',
                'model' => '',
                'method' => '',
                'pid' => 0,
                'type' => 0,
                'status' => 1,
            ],
            [
                'id' => 70,
                'name' => '创建账单',
                'model' => 'domestic_bill',
                'method' => '',
                'pid' => 6,
                'type' => 1,
                'status' => 1,
            ],
            [
                'id' => 71,
                'name' => '作废账单',
                'model' => 'domestic_bill',
                'method' => 'invalidBill',
                'pid' => 6,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 72,
                'name' => '账单对账',
                'model' => 'domestic_bill',
                'method' => 'account',
                'pid' => 6,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 73,
                'name' => '账单抹零',
                'model' => 'domestic_bill',
                'method' => 'zero',
                'pid' => 6,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 74,
                'name' => '设置账单提醒和关闭时间',
                'model' => 'domestic_bill',
                'method' => 'setBill',
                'pid' => 6,
                'type' => 2,
                'status' => 1,
            ],
        ]);
    }
}
